package com.lry.basic.spring.aop.test;

import com.lry.basic.spring.aop.face.MethodAfterAdvice;
import com.lry.basic.spring.ioc.anno.Component;

import java.lang.reflect.Method;

/**
 * @author:刘仁有
 * @desc:
 * @email:953506233@qq.com
 * @data:2019/11/8
 */
@Component
public class MyAfterAdvice implements MethodAfterAdvice {
    @Override
    public void after(Object returnValue, Method method, Object[] args, Object target) {
        System.out.print("returnValue:" + returnValue);
        System.out.println("    after");
    }
}
